package com.zt.java.proxy;

public class AnotherInterceptor extends AbstractInterceptorHander {

    public AnotherInterceptor() {
    }

    public AnotherInterceptor(AbstractInterceptorHander nextHandLer) {
        super(nextHandLer);
    }

    @Override
    public void doBefore() {
        System.out.println("吃前喝口热水");
    }

    @Override
    public void doAfter() {
        System.out.println("吃后喝口热水");
    }

}
